package com.shoe.mapper;

import com.shoe.pojo.ShoeUser;
import com.shoe.pojo.ShoeUserExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShoeUserMapper {
    int countByExample(ShoeUserExample example);

    int deleteByExample(ShoeUserExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(ShoeUser record);

    int insertSelective(ShoeUser record);

    List<ShoeUser> selectByExample(ShoeUserExample example);

    ShoeUser selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("record") ShoeUser record, @Param("example") ShoeUserExample example);

    int updateByExample(@Param("record") ShoeUser record, @Param("example") ShoeUserExample example);

    int updateByPrimaryKeySelective(ShoeUser record);

    int updateByPrimaryKey(ShoeUser record);

    Long selectId(String userName);
}